import matplotlib.pyplot as plt

class AudioDebugger:
    def plot_waveform(self, audio_file: str):
        """绘制波形图"""
        y, sr = librosa.load(audio_file)
        plt.plot(y)
        plt.show()